package com.products.utils;

import java.util.GregorianCalendar;

import com.products.gui.Frame;

public class TimeThinker implements Runnable {
	private static final long serialVersionUID = 1L;
	private SimpleMail mailSender = new SimpleMail();
	private Main frame = null;


	public void run() {
				String respEmail = frame.getCommands().getMail();
				mailSender.sendMessage(frame.getProducts(), respEmail);
				frame.getCommands().removeOrder();
			}
}
	

